package com.example.utils;

/**
 * @author chentao
 * @version 1.0
 * @description: 随机类
 * @date 2025/3/2 下午4:25
 */
public class RandomUtils {

    /****
     * 随机获取数字
     * @param max
     * @return
     */
    public static int randomInt(int max) {
        return (int) (Math.random() * (max));
    }
}
